package com.huantai.auth.dao;

import com.huantai.auth.bean.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface UserDao {

    User getUser(Long id);

    List<User> getList(User user);
}
